package com.begye.smartloan.apptest.tool

import android.app.Application
import android.widget.Toast

/**
 */
object ToastTool {

    private lateinit var _context: Application

    fun init(context: Application) {
        _context = context
    }

    fun showMsg(msg: String?) {
        if (msg.isNullOrBlank()) return
        Toast.makeText(_context, msg, Toast.LENGTH_SHORT).show()
    }

}